import { http } from '@/common/service/service.js' 
import configService from '@/common/service/config.service.js';

/**
 * name 埋点接口
 * openID: xxxxxx
 * deviceType 设备类型：手机、PC、pad 等 deviceType
 * deviceBrand 设备品牌：苹果、华为等  deviceBrand
 * deviceModel 设备型号：iPad Pro (9.7‑inch, WiFi)   deviceModel
 * clientVersion 客户端版本号：8.0.42  hostVersion
 * systemVersion 系统类型：iOS 13.4  system
 * eventCode 事件编码：index_exam_type_button
 * 
 */
export function apiTrackingSave(data) {
	return http.post('/event/tracking/save', data)
}

//意见反馈保存接口
export function apiFeedbacksave(query) {
	return http.post('/user/feedback/save',query)
}
